package com.xy.modular.building.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.building.dao.RoomMapper;
import com.xy.modular.building.entity.Room;
import com.xy.modular.building.service.IRoomService;

@Service("roomService")
public class RoomServiceImpl extends BaseServiceImpl<Room, String> implements IRoomService {

	@Override
	public void validateEntity(Room e) throws ValidateParamException {
		// TODO Auto-generated method stub

	}

	@Resource
	private RoomMapper roomMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.roomMapper;
	}

}
